@{
    ViewData["Title"] = "欢迎使用ERP系统";
}

<style>
    body {
        margin: 0;
        padding: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        font-family: 'Microsoft YaHei', sans-serif;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .welcome-container {
        text-align: center;
        color: white;
        padding: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    .welcome-title {
        font-size: 48px;
        font-weight: 300;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    .welcome-subtitle {
        font-size: 24px;
        margin-bottom: 30px;
        opacity: 0.9;
    }
    .welcome-description {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.8;
        max-width: 600px;
        margin: 0 auto;
    }
    .system-info {
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .info-card {
        background: rgba(255, 255, 255, 0.15);
        padding: 20px;
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
    .info-card h3 {
        margin: 0 0 10px 0;
        font-size: 18px;
    }
    .info-card p {
        margin: 0;
        font-size: 14px;
        opacity: 0.9;
    }
    .current-time {
        margin-top: 30px;
        font-size: 18px;
        opacity: 0.8;
    }
</style>

<div class="welcome-container">
    <h1 class="welcome-title">欢迎使用 ERP 系统</h1>
    <p class="welcome-subtitle">企业资源规划管理平台</p>
    <p class="welcome-description">
        本系统集成了人才管理、生产管理、仓储管理、订单管理等核心业务模块，
        为企业提供一体化的信息管理解决方案，提升运营效率，优化业务流程。
    </p>
    
    <div class="system-info">
        <div class="info-card">
            <h3>🏢 系统设置</h3>
            <p>用户管理、权限配置、角色分配</p>
        </div>
        <div class="info-card">
            <h3>👥 人才系统</h3>
            <p>招聘管理、入职审核、人才档案</p>
        </div>
        <div class="info-card">
            <h3>🏭 生产系统</h3>
            <p>生产计划、设备管理、质量控制</p>
        </div>
        <div class="info-card">
            <h3>📦 仓储管理</h3>
            <p>库存管理、出入库、盘点统计</p>
        </div>
        <div class="info-card">
            <h3>📋 订单管理</h3>
            <p>销售订单、送货单据、客户服务</p>
        </div>
        <div class="info-card">
            <h3>📊 数据分析</h3>
            <p>业务报表、数据统计、决策支持</p>
        </div>
    </div>
    
    <div class="current-time">
        <span id="currentTime"></span>
    </div>
</div>

<script>
    // 显示当前时间
    function updateTime() {
        const now = new Date();
        const timeString = now.toLocaleString('zh-CN', {
            year: 'numeric',
            month: '2-digit',
            day: '2-digit',
            hour: '2-digit',
            minute: '2-digit',
            second: '2-digit'
        });
        document.getElementById('currentTime').textContent = '当前时间：' + timeString;
    }
    
    updateTime();
    setInterval(updateTime, 1000);
</script> 